package com.edu.pojo;

import javax.servlet.http.HttpServlet;

public class goods extends HttpServlet {
    private int id;
    private String url;
    private String title;
    private int price;

    public goods() {
    }

    public goods(int id, String url, String title, int price) {
        this.id = id;
        this.url = url;
        this.title = title;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
